﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace LLog.Web.Models
{
    public class Log
    {
        [SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true)]
        public int Id { set; get; }
        public string AppName { set; get; }
        public DateTime Timestamp { set; get; }
        public string LogLevel { set; get; }
        public string Message { set; get; }
        public string CategoryName { set; get; }
    }
}
